// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "WorldEntityPart.h"

class FWorldSignal;

/**
 * An entity of a controller/control
 */
class FWorldControllerControl : public FWorldEntityPart
{

public:

	using Ptr = std::shared_ptr<FWorldControllerControl>;
	using Super = FWorldEntityPart;

	FWorldEntityReference< FWorldSignal >	SignalId;
	FWorldEntityProperty< std::string >		Type;

public:

	FWorldControllerControl();
	FWorldControllerControl(FWorldEntityPart* parent, const pugi::xml_node& elem);
	~FWorldControllerControl() override;

	void Resolve(FWorldEntityReferencing& referencing) override;

	WORLD_ENTITY_META_DECLARE(FWorldControllerControl)

};

